feat: add R 4.5.x default runtime image and configurable additionalRuntimeImages#72
Conversation
…ntimeImages Adds R 4.5.2 (Python 3.13.9, Quarto 1.8.25) to the default off-host execution runtime images. Introduces additionalRuntimeImages field on Site and Connect specs so operators can extend runtime images without requiring an operator release. Closes #71
|
Claude finished @ian-flores's task —— View job PR #72 Review CompleteSummaryOverall this is a well-structured PR that adds a useful feature allowing operators to extend runtime images without requiring an operator release. The implementation follows existing patterns in the codebase. API Changes (
|
- Extract DefaultRuntimeImageRepo constant to replace duplicated repo string - Add MinLength=1 kubebuilder validation on version fields to prevent empty strings that would produce malformed image tags - Add test for error handling when an additional image has missing fields - Fix gofmt alignment in site_controller_connect.go - Regenerate CRDs and Helm chart
Lytol
left a comment
There was a problem hiding this comment.
Nice, seems like a great addition!
One thought: this only gives us the ability to add additional default content images, but it doesn't let us override or remove the hard-coded ones. It could be useful to just set all the images explicitly, and then fall back to sensible defaults if none are specified. What do you think?
|
Great point — created #74 to track adding full override support for default runtime images. Shipping the additive model in this PR and will address override capability as a follow-up. |
# [1.7.0](v1.6.0...v1.7.0) (2026-02-09) ### Features * add R 4.5.x default runtime image and configurable additionalRuntimeImages ([#72](#72)) ([1c39720](1c39720))
Summary
additionalRuntimeImagesfield on bothSiteandConnectspecs, allowing operators to extend runtime images without an operator code change and releaseruntime.yamlConfigMapExample Site YAML usage
Files changed
api/core/v1beta1/connect_types.goConnectRuntimeImageSpecstruct,AdditionalRuntimeImagesonConnectSpec, R 4.5.2 default, appending logic inDefaultRuntimeYAML()api/core/v1beta1/site_types.goAdditionalRuntimeImagesonInternalConnectSpecinternal/controller/core/site_controller_connect.goapi/core/v1beta1/connect_types_test.goTest plan
repofield omittedruntime.yamlConfigMap contains all expected imagesadditionalRuntimeImagesare unaffectedCloses #71